@charset "UTF-8";

@mixin blue-gradient {
    background: linear-gradient(to right, #2884f6, #095FC8);
}

.header {
    width: 1200px;
    height: 64px;
    line-height: 64px;
    // background-color: #095FC8;
    @include blue-gradient;
    position: fixed;
    display: flex;

    .header-text {
        font-size: 24px;
        font-weight: bold;
        color: #ffffff;
        width: 216px;
        margin-right: 36px;
        flex-shrink: 0;

        .aidicon-airballoon {
            color: #ffffff;
            font-size: 32px;
            position: relative;
            top: 7px;
            margin: 0 16px;
        }
    }

    .sys-nav-list {
        flex: 1;

        li {
            display: inline-block;
            font-size: 16px;
            padding: 0 24px;
            color: #ffffff;
            margin-right: -4px;

            &>a {
                color: #ffffff;
                cursor: pointer;
            }

            &:hover,
            &.active {
                background-color: #0F5AB7;
            }
        }
    }

    .opt-list {
        width: 160px;
        flex-shrink: 0;

        &>li {
            display: inline-block;
            color: #B4BCCC;
            font-size: 18px;
            margin-right: 16px;
            cursor: pointer;

            i {
                position: relative;
                top: 5px;
            }
        }

        .msg-icon {
            position: relative;

            .msgFlag {
                top: 20px;
            }
        }

        .msg-list {
            position: absolute;
            right: -16px;
            top: 51px;
            width: 263px;
            height: 175px;
            background-color: #ffffff;

            .msg-wrap {
                width: 100%;
                height: 87px;
                padding: 16px;
                border-bottom: 1px solid #CFD6E4;

                &:last-child {
                    border-bottom: none;
                }

                .msg-title {
                    color: #2D2F33;
                    font-size: 16px;
                    font-weight: bold;
                    line-height: 32px;

                    .badge {
                        position: relative;
                    }
                }

                .msg-info {
                    line-height: 24px;
                    font-size: 14px;
                    font-weight: normal;

                    .info-detail {
                        display: inline-block;
                        width: calc(100% - 60px);
                        color: #878D99;
                    }

                    a {
                        position: relative;
                        top: -7px;
                        margin-left: 5px;

                        &:visited {
                            color: #2985f7;
                        }
                    }
                }
            }
        }
    }

    #quit {
        font-family: "黑体";
        font-size: 16px;
        color: #ffffff;
        cursor: pointer;
        margin-right: 24px;
        margin-top: 4px;

        .aidicon {
            position: relative;
            top: 3px;
            margin-left: 5px;
            margin-right: 5px;
        }
    }

    #userImg {
        margin-right: 8px;

        img {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            overflow: hidden;
        }
    }

    #userName {
        font-family: "黑体";
        font-size: 16px;
        color: #ffffff;
        margin-right: 12px;
        margin-top: 2px;
    }

    a.cs-item {
        display: inline-block;
        width: 22px;
        height: 26px;
        margin-right: 12px;
        margin-top: 2px;

        .aidicon {
            font-weight: 400;
            font-style: normal;
            font-size: 22px;
            color: #ffffff;
            vertical-align: -5px;
        }

        &:hover {
            border-bottom: 1px solid #ffffff;
        }
    }
}